package com.zhangdi.mserver.goes.domain;

import com.alibaba.otter.canal.protocol.CanalEntry.Column;
import com.alibaba.otter.canal.protocol.CanalEntry.EventType;

import java.util.List;

/**
 * Created by zhangdi on 2021/01/29 11:00:54.
 */
public class ChangeInfo {
    private String table;
    private EventType op;
    private String pk;
    private List<Column> beforeColumns;
    private List<Column> columns;

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public EventType getOp() {
        return op;
    }

    public void setOp(EventType op) {
        this.op = op;
    }

    public String getPk() {
        return pk;
    }

    public void setPk(String pk) {
        this.pk = pk;
    }

    public List<Column> getColumns() {
        return columns;
    }

    public void setColumns(List<Column> columns) {
        this.columns = columns;
    }

    public List<Column> getBeforeColumns() {
        return beforeColumns;
    }

    public void setBeforeColumns(List<Column> beforeColumns) {
        this.beforeColumns = beforeColumns;
    }
}
